<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统菜单</title>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="<%=request.getContextPath()%>/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
$(function(){	
        if('${sr}'==""){            	   
        		for (var i = 1;  i<=100; i++) {
     	    	     $("#auth"+i).css("display","block");						
				}      
        }else{
     	       var auth1 ='${sr}';  
     	       var auth=auth1.split(',');
     	    for (var i = 0; i <auth.length ; i++) {	
     	    	   $("#auth"+auth[i]).css("display","block");  
				}            	   
        }   
	//导航切换
	$('dd').find('.menuson').slideUp(0);
	$(".menuson .header").click(function(){
		var $parent = $(this).parent();
		$(".menuson>li.active").not($parent).removeClass("active open").find('.sub-menus').hide();
		
		$parent.addClass("active");
		if(!!$(this).next('.sub-menus').size()){
			if($parent.hasClass("open")){
				$parent.removeClass("open").find('.sub-menus').hide();
			}else{
				$parent.addClass("open").find('.sub-menus').show();	
			}
			
		}
	});
	
	// 三级菜单点击
	$('.sub-menus li').click(function(e) {
        $(".sub-menus li.active").removeClass("active")
		$(this).addClass("active");
    });
	
	$('.title').click(function(){
		var $ul = $(this).next('ul');
		$('dd').find('.menuson').slideUp();
		if($ul.is(':visible')){
			$(this).next('.menuson').slideUp();
		}else{
			$(this).next('.menuson').slideDown();
		}
	});
})	
</script>
</head>

<body style="background:#fff3e1;">
<div class="lefttop"><span></span>功能菜单</div>
<dl class="leftmenu">
  <dd>
    <div class="title" id="auth1" style="display: none"> <span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>用户管理</div>
    <ul class="menuson">
      <li id="auth10" style="display: none"><div class="header"> <cite></cite> <a href="<%=request.getContextPath()%>/selectUserList" target="rightFrame">用户列表</a></div></li>
       <li id="auth43" style="display: none"><div class="header"> <cite></cite> <a href="<%=request.getContextPath()%>/selectUserCompanyList" target="rightFrame">企业用户列表</a></div></li>
           	 <li id="auth17" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectIdentityList" target="rightFrame">身份审核</a><i></i></div></li>
    	 <li id="auth18" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectCompanyList" target="rightFrame">企业审核</a><i></i></div></li>
    </ul>
  </dd>
  <dd>
    <div class="title" id="auth2" style="display: none"><span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>广告管理</div>
    <ul class="menuson">
      <li id="auth12" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectAdvList?type=3" target="rightFrame">启动页</a><i></i></div></li>
      <li id="auth13" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectSlideshowList?type=2" target="rightFrame">首页轮播图</a><i></i></div></li>
      <li id="auth14" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectSlideshowList?type=1" target="rightFrame">发现轮播图</a><i></i></div></li>
    </ul>
  </dd>
  <dd>
    <div class="title" id="auth3" style="display: none"><span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>技能管理</div>
    <ul class="menuson">
    	<li id="auth15" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/skillList" target="rightFrame">服务设置</a><i></i></div></li>
    </ul>
  </dd>
  <dd>
    <div class="title" id="auth4" style="display: none"><span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>内容管理</div>
    <ul class="menuson">
    	 <li id="auth16" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectMessageList" target="rightFrame">消息管理</a><i></i></div></li>
    	 <li id="auth29" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectFeedbackList" target="rightFrame">意见反馈</a><i></i></div></li>
    	  <li id="auth44" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectComplaintList" target="rightFrame">投诉管理</a><i></i></div></li>
    	  <li id="auth46" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectAgreement" target="rightFrame">协议管理</a><i></i></div></li>
    	   <li id="auth47" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectEquity" target="rightFrame">权益管理</a><i></i></div></li>
    </ul>
  </dd>
    <dd>
    <div class="title" id="auth5" style="display: none"><span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>话题管理</div>
    <ul class="menuson">
     	 <li id="auth20" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectTopicList" target="rightFrame">话题列表</a><i></i></div></li>
    </ul>
  </dd>
    <dd>
    <div class="title" id="auth6" style="display: none"><span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>订单管理</div>
    <ul class="menuson">
     	 <li id="auth21" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectOrderList" target="rightFrame">订单列表</a><i></i></div></li>
    </ul>
  </dd>
    <dd>
    <div class="title" id="auth7" style="display: none"><span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>基础管理</div>
    <ul class="menuson">
     	 <li id="auth22" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/sysUser/sysRoleList" target="rightFrame">权限管理</a><i></i></div></li>
     	 <li id="auth23" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/sysUser/sysUserList" target="rightFrame">账号管理</a><i></i></div></li>
     	 <li id="auth24" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectLogList" target="rightFrame">操作日志</a><i></i></div></li>
     	 <li id="auth48" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/upgrade" target="rightFrame">升级设置</a><i></i></div></li>
    </ul>
  </dd>
    <dd>
    <div class="title" id="auth8" style="display: none"><span><img src="<%=request.getContextPath()%>/images/leftico03.png" /></span>财务管理</div>
    <ul class="menuson">
     	 <li id="auth25" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectCommontDiscount" target="rightFrame">充值设置</a><i></i></div></li>
     	 <li id="auth30" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectRechargeSet" target="rightFrame">优惠券使用规则</a><i></i></div></li>
     	 <li id="auth26" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectIncomeList" target="rightFrame">收支统计</a><i></i></div></li>
<%--      	 <li id="auth26" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectIncomeList" target="rightFrame">收入统计</a><i></i></div></li>
     	 <li id="auth27" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectExpendList" target="rightFrame">支出统计</a><i></i></div></li> --%>
<%--      	 <li id="auth28" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectVipList" target="rightFrame">VIP统计</a><i></i></div></li> --%>
     	 <li id="auth31" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/platformDiscount" target="rightFrame">平台手续费</a><i></i></div></li>
     	  <li id="auth32" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/royalty" target="rightFrame">提成设置</a><i></i></div></li>
     	  <li id="auth19" style="display: none"><div class="header"><cite></cite><a href="<%=request.getContextPath()%>/selectWithdrawList" target="rightFrame">提现审核</a><i></i></div></li>
  <li id="auth11" style="display: none"><div class="header"> <cite></cite> <a href="<%=request.getContextPath()%>/selectIntegral" target="rightFrame">积分设置</a></div></li>
    </ul>
  </dd>
</dl>
 <div id="left" style = 'width: 100%;height: 100%;position: fixed;top: 0; display: none; left: 0;background: rgba(0,0,0,.5);'></div>
</body>
</html>
